body{
  background: #f5f5f5;
}
.jd_layout{
  min-width: 300px;
  max-width: 640px;
  //height: 40px;
  //background: #fff;
  margin: 0 auto;
  position: relative;
  //margin-bottom: 15px;
  .jd_header{
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 40px;
    z-index: 3;
      //background: blue;
    .jd_header_box{
        min-width: 300px;
        max-width: 640px;
        margin: 0 auto;
        position: relative;
        background: transparent;
        height: 40px;
        .icon_logo{
          background-position:0 -103px ;
          width: 60px;
          height: 36px;
          display: block;
          position: absolute;
          top: 4px;
          left: 10px;
        }
        form{
          width: 100%;
          height: 40px;
          padding-left: 75px;
          padding-right: 55px;
          //display: inline-block;
          position: relative;
          input{
            width: 100%;
            height: 30px;
            border-radius: 15px;
            //background: yellow;
            margin-top: 5px;
            padding-left: 30px;
          }
          .icon_search{
            background-position:-60px -109px ;
            width: 20px;
            height: 20px;
            display: block;
            position: absolute;
            top: 10px;
            left: 85px;
            //background:yellow;
          }

        }
      .login{
        width: 50px;
        height: 40px;
        display: block;
        text-align: center;
        line-height: 40px;
        font-size: 15px;
        color: #fff;
        position: absolute;
        top: 0;
        right: 0;
        //background: black;
        text-decoration: none;
      }
    }
  }
  /*banner*/
  #jd-banner-carousel{
    min-width: 300px;
    max-width: 640px;
    height: 300px;
    margin: 0 auto;
    .carousel-inner{
      min-width: 300px;
      max-width: 640px;
      height: 300px;
      overflow: hidden;
      .item{
        img{
          width:100%;
          height: 300px;
        }
      }
    }
  }
  /*导航栏*/
  .jd-nav{
    height: 150px;
    width: 100%;
    //min-width: 300px;
    //max-width: 640px;
    //margin-right:188.5px;
    //margin-left: 188.5px;
    //margin-top: 11px;
    background: #fff;
    padding: 0 3.125%;
    border-bottom: 1px solid #e0e0e0;
    padding-top: 11px;
    ul{
      width: 100%;

      li{
        width: 25%;
        height: 69px;
        float: left;
        list-style: none;
        a{
          display: block;
          width: 100%;
          height: 100%;
          text-decoration: none;
          img{
            display:block;;
            width: 40px;
            height: 40px;
            margin: 0 auto;
          }
          p{
            font-size: 12px;
            color: #666;
            text-align: center;
            margin-top: 6px;
          }
        }
      }
    }
  }
  .jd-product{
    margin:0 5px;
  }
  //公共使用的商品盒子
  .jd-product {
    box-shadow: 0 0 1px 1px #e0e0e0;
    .jd-product-box{
      //盒子上面
      width: 100px;
      .product-top{
        height: 32px;
        border-bottom: 1px solid #e0e0e0;
        position: relative;
        h3{
          font-size: 15px;
          color: #666;
          padding-left: 15px;
          font-weight: inherit;
          line-height: 32px;
          &::before{
            content: "";
            width: 3px;
            height: 12px;
            display: block;
            background-color: #d8605c;
            position: absolute;
            top: 10px;
            left: 8px;
          }
        }
        .no-bor{
          border-bottom: none;
        }
      }
      .product-bot{

      }
    }
    }
  .jd-product .jd-searchkill{
      .jd-searchkill_left{
        float: left;
        .sk_icon{
          background: url("./imges/product/seckill-icon.png") no-repeat;
          background-size: 16px 20px;
          width: 16px;
          height: 20px;
          display: block;
          float: left;
        }
        .sk_name{
          font-size: 15px;
          color: #d8505c;
          font-weight: inherit;//继承父元素的字体系列
          float: left;
        }
        .sk_time{
          float: left;

            .num{
              display: block;
              width: 15px;
              height: 15px;
              text-align: center;
              background: #333;
              color: #fff;
              float: left;
            }
          .str{
            display: block;
            width: 4px;
            height: 15px;
            text-align: center;
            float: left;
            //background: #333;
            //color: #fff;
          }
          a{
            display: inline-block;
            float: right;
          }
        }
      }
      .jd-searchkill_right{
        clear: both;
        float: right;
        a{
          &:hover{
            color: red;
          }
        }
      }

  }
}
